/* 全局样式 */
body {
    background: linear-gradient(135deg, #6c5ce7 0%, #a363d9 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* 卡片基础样式 */
.card, .form-container, .profile-card, .login-card, .error-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* 按钮基础样式 */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #6c5ce7 0%, #a363d9 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5d4aef 0%, #8f4fd3 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

/* 输入框样式 */
.form-control {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 0.25rem rgba(108, 92, 231, 0.25);
}

/* 表格样式 */
.table th {
    background: rgba(108, 92, 231, 0.1);
    color: #2d3436;
    font-weight: 600;
    border: none;
}

.table td {
    color: #2d3436;
    border-color: rgba(108, 92, 231, 0.1);
}

.table-hover tbody tr:hover {
    background-color: rgba(108, 92, 231, 0.05);
}

/* 分页样式 */
.page-link {
    color: #6c5ce7;
    border-radius: 8px;
    margin: 0 3px;
}

.page-link:hover {
    background: #6c5ce7;
    color: white;
}

/* 图标样式 */
.bi {
    transition: transform 0.3s ease;
}

.btn:hover .bi {
    transform: translateX(3px);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .form-container, .profile-card, .login-card, .error-content {
    animation: fadeIn 0.5s ease-out;
}